package server.interfaces;

import java.nio.channels.SocketChannel;

import common.packets.LoginPacket;
import common.packets.LogoutPacket;
import common.packets.MessagePacket;
import common.packets.NOPPacket;

public interface IServerCommLogic {

	public abstract void handleClientConnected(SocketChannel channel);

	public abstract void handleClientDisconnected(SocketChannel channel);

	public abstract void handleDisconnectRequest(SocketChannel channel);

	public abstract void handleLoginPacket(LoginPacket packet);
	
	public abstract void handleNOPPacket(NOPPacket packet);

	public abstract void handleMessagePacket(MessagePacket packet);

	public abstract void handleLogoutPacket(LogoutPacket packet);

}